package com.power.sifa.approve.model.pageInfo;

import com.plf.common.domain.BasePageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

/**
*  审批过程材料条件查询
*/

@Data
@ApiModel(value="审批过程材料条件查询")
@EqualsAndHashCode(callSuper = false)
public class Aprv_process_materialsPageInfo extends BasePageInfo{

        @ApiModelProperty(value = "applyid+nanoid")
        private String f_id;
        @ApiModelProperty(value = "applyid+nanoid操作符")
        private String f_id_op = "like";

        @ApiModelProperty(value = "附件id")
        private String f_attachid;
        @ApiModelProperty(value = "附件id操作符")
        private String f_attachid_op = "like";

        @ApiModelProperty(value = "类型")
        private List<Integer> f_type;
        @ApiModelProperty(value = "类型操作符")
        private String f_type_op = "in";

        @ApiModelProperty(value = "创建人id")
        private String f_createuserid;
        @ApiModelProperty(value = "创建人id操作符")
        private String f_createuserid_op = "like";

        @ApiModelProperty(value = "创建人")
        private String f_createuser;
        @ApiModelProperty(value = "创建人操作符")
        private String f_createuser_op = "like";

        @ApiModelProperty(value = "创建时间", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_createtime;
        @ApiModelProperty(value = "创建时间操作符")
        private String f_createtime_op = ">=";

        @ApiModelProperty(value = "创建时间", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
        private String f_createtime_01;
        @ApiModelProperty(value = "创建时间操作符")
        private String f_createtime_01_op = "<=";

        @ApiModelProperty(value = "引用主表id")
        private String f_applyid;
        @ApiModelProperty(value = "引用主表id操作符")
        private String f_applyid_op = "=";

        @ApiModelProperty(value = "材料类型")
        private List<Integer> f_mattype;

        @ApiModelProperty(value = "自定义材料依赖id")
        private String f_reply_attachid;
        @ApiModelProperty(value = "自定义材料依赖id操作符")
        private String f_reply_attachid_op = "like";

        @ApiModelProperty(value = "被申请人")
        private String f_targetname;
        @ApiModelProperty(value = "案号")
        private String f_acceptcode;
}
